/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ru.jSky.bridge.major;

import ru.jSky.interfaces.NamedMajor;
import skyproc.MajorRecordNamed;

/**
 *
 * @author Rakev
 */
public class NamedMajorBridge<E extends MajorRecordNamed> extends MajorBridge<E> implements NamedMajor {

    public NamedMajorBridge(E adapting) {
        super(adapting);
    }

    @Override
    public String getName() {
        return getAdapting().getName();
    }

    @Override
    public void setName(String name) {
        getAdapting().setName(name);
    }
}
